package com.yanchangapp.model.request;

import com.yanchangapp.model.bean.CnProductBean;
import com.yanchangapp.model.bean.ProductBean;

import java.util.List;

/**
 * Created by apple on 2019-08-21.
 * description:创建合同的请求体
 */
public class CreateContractRequest {
    private String contractTime;
    private String supplycoId;
    private double totalMoney;
    private List<CnProductBean> products;
    private String covenant;

    // 创建合同的请求体
    public CreateContractRequest(String contractTime,
                                 String supplycoId,
                                 double totalMoney,
                                 List<CnProductBean> products,
                                 String covenant) {
        this.contractTime = contractTime;
        this.supplycoId = supplycoId;
        this.totalMoney = totalMoney;
        this.products = products;
        this.covenant = covenant;
    }

    public String getContractTime() {
        return contractTime;
    }

    public void setContractTime(String contractTime) {
        this.contractTime = contractTime;
    }

    public String getSupplycoId() {
        return supplycoId;
    }

    public void setSupplycoId(String supplycoId) {
        this.supplycoId = supplycoId;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public List<CnProductBean> getProducts() {
        return products;
    }

    public void setProducts(List<CnProductBean> products) {
        this.products = products;
    }

    public String getCovenant() {
        return covenant;
    }

    public void setCovenant(String covenant) {
        this.covenant = covenant;
    }
}
